package com.itheima.thread14;

public class Demo {
    public static void main(String[] args) {

        Desk desk = new Desk();

        //创建线程
        Cooker cooker = new Cooker(desk);
        Foodie foodie = new Foodie(desk);

        //开启线程
        cooker.start();
        foodie.start();

    }
}
